# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=licenseheaders
pkgver=0.7
pkgrel=1
pkgdesc="Add/Replace license headers in a directory tree of source files"
url="https://github.com/johann-petrak/licenseheaders"
arch="noarch"
license="MIT"
depends="python3 py3-regex"
makedepends="py3-setuptools"
options="!check" # no tests
source="https://files.pythonhosted.org/packages/source/l/licenseheaders/licenseheaders-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="d78f091a384d2b0b1c5b40a378d2c321b2ed22a50f9386a639672ee787ddf234bccc2020c3b8363bf8c32939c89878aa3ac3aa4a3bb71ca5750e84d5debbc0a2  licenseheaders-0.7.tar.gz"
